home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows5 / wow_201s.zip / HARDWARE.DOC next >
Text File  |  1991-11-16  |  10KB  |  229 lines

  1. Ein Auszug aus MPLAY204.ARJ von Mark J Cox betreffend Selbstbau D/A-Wandler.
  2. Die ZN426E und Widerstandsloesung habe ich beide nachgebaut. Beide liefern
  3. ausgezeichnete Qualität. Der Klang der D/A's gefällt mir persönlich besser als
  4. der der Soundblaster.
  5.                 Jan Ole Suhr
  6.  
  7.  
  8.  
  9.              MODPLAY  *********                            (C) Mark J Cox
  10.              MODPLAY  **                                        1990/1991
  11.              MODPLAY  *******                              
  12.              MODPLAY  **************   
  13.  
  14.              Amiga four─channel sound module player for PC's
  15.              Hardware devices for great sound output!
  16.  
  17.  
  18.     I. CONTENTS
  19.     ─────────────────────────────────────────────────────────
  20.  
  21.     How to make:
  22.                 Mono output from a parallel port for about 5 pounds
  23.                 Mono output from a parallel port for around 1 pound
  24.                 Stereo from one parallel port for about 12 pounds
  25.  
  26.     This document has been supplied with MODPLAY or MODRES and the
  27.     license agreement attached to the MODPLAY documentation applies
  28.     to this file.
  29.  
  30.  
  31.     I. INTRODUCTION
  32.     ─────────────────────────────────────────────────────────
  33.  
  34.     MODPLAY will play modules through the PC Speaker as mentioned above, via
  35.     an D to A converter on any of the three possible parallel ports, in stereo
  36.     if you have an D to A converter on both LPT1 and LPT2 (this sounds really
  37.     good) and also through a special board that plays stereo from one
  38.     printer port ("stereo─on─1")
  39.  
  40.     1. HOW TO MAKE A D/A CONVERTER FOR FIVE POUNDS
  41.     ─────────────────────────────────────────────────────────
  42.  
  43.     A simple circuit for HiFi quality sound needs only a few components (and
  44.     this circuit will work with other software).   It even sounds better than
  45.     a Sound Blaster for sampled output!
  46.  
  47.     You need:
  48.  
  49.     IC1 a ZN426E (about 3 pounds) (Ferranti or Plessey are UK manufacturers)
  50.  
  51.     C1 a 10micro-farad electrolytic capacitor (10V or greater)
  52.  
  53.     C2 a 4.7micro-farad electrolytic capacitor (10V or greater)
  54.  
  55.     R1 a 380ohm resistor (5%, 1/8W)
  56.  
  57.     CON1 a phono socket for connecting a lead to your amplifier
  58.  
  59.     CON2 a 25 way male D-type connector for your parrallel port
  60.  
  61.     A bit of 10 way cable - or 10 short wires.
  62.  
  63.     A +5v supply
  64.  
  65.                                Zn426e    +5V
  66.                               ┌────────┐  │  
  67.                   (2)  D0  ───┤9     14├──┤
  68.                   (3)  D1  ───┤10      │ ┌┴┐ 
  69.                   (4)  D2  ───┤11      │ │ │ 390Ω
  70.                   (5)  D3  ───┤12      │ └┬┘
  71.                   (6)  D4  ───┤13     5├──┤
  72.                   (7)  D5  ───┤1      6├──┤       +
  73.                   (8)  D6  ───┤2      4├──│────────┤█────> TO AMPLIFIER
  74.                   (9)  D7  ───┤3   7   │  │        10µF  
  75.                               └────┬───┘ +╧        (may not be needed)
  76.                                    │ 4.7µF█  
  77.                                    │      │  
  78.                   (25) GND ────────┴──────┴────────────── GND
  79.                                    
  80.  
  81.  
  82.     2. GETTING A +5V POWER SUPPLY
  83.     ─────────────────────────────────────────────────────────
  84.  
  85.     Catalogues such as MAPLIN (uk) provide simple circuits for obtaining
  86.     a +5v power supply (it only has to be 100mA maximum).  Alternatively
  87.     you could tap +5v off the keyboard connector or use 3 1.5volt
  88.     batteries (or even 4 1.5volt batteries with two diodes in series to
  89.     drop the voltage).  In fact, anything that produces a voltage in the
  90.     range 4.5 ─ 5.5 volts. (in fact you can even tap +5v from the game
  91.     port).  Don't forget to connect the 0v of your power supply to the GND
  92.     rail shown.
  93.  
  94.  
  95.  
  96.     3. HOW TO MAKE AN EVEN CHEAPER D/A
  97.     ─────────────────────────────────────────────────────────
  98.  
  99.     For the price of 20 1% resistors and a plug, with no power supply
  100.     needed you can make a D/A converter that sounds close to the IC
  101.     one above (it seems only the UK can get a Plessey ZN426E)
  102.  
  103.     You need one plug for your amp, one for your parallel port and
  104.     9 20k and 9 10K resistors
  105.     Use 1% resistors if possible ─ and 20k sound much better than 22k
  106.  
  107.           Printer Port:
  108.  
  109.           signal   pin        20k   20k
  110.           D0       2      >───░░░─┬─░░░──0v
  111.                               20k ░ 10k
  112.           D1       3      >───░░░─┤
  113.                               20k ░ 10k
  114.           D2       4      >───░░░─┤
  115.                               20k ░ 10k
  116.           D3       5      >───░░░─┤
  117.                               20k ░ 10k
  118.           D4       6      >───░░░─┤
  119.                               20k ░ 10k
  120.           D5       7      >───░░░─┤
  121.                               20k ░ 10k
  122.           D6       8      >───░░░─┤
  123.                               20k ░ 10k
  124.           D7       9      >───░░░─┤
  125.                               20k ░ 10k  100nF
  126.                                   ├──────┤█────> TO AMPLIFIER
  127.                                   ░ 10k
  128.           GND      20     >───────┼────────────>
  129.                                   0v
  130.           
  131.      Thanks to Harry Stox for the above circuit.  Again, make sure all
  132.      the 0v lines are connected together.  The 100nF capacitor may not
  133.      be needed, try removing it if this circuit sounds poor.
  134.  
  135.  
  136.  
  137.     4. STEREO-ON-1 BOARD
  138.     ─────────────────────────────────────────────────────────
  139.  
  140.     It is possible to play in stereo with only one parallel port (MODPLAY
  141.     version 2.00 onwards) using the circuit below.  MODPLAY will
  142.     automatically detect this circuit if it is present and work out what
  143.     address it is at ─ so you can plug it into any of your parallel ports. 
  144.     MODPLAY needs no further options and will default to playing through
  145.     this device.  The +5v supply can be  anywhere between 4.5 and 5.5 volts
  146.     so it could be run from three 1.5v  batteries. (Or from four
  147.     rechargable batteries as these are only 1.2v) 
  148.  
  149.     * Stereo-on-1 works from MODPLAY 2.03 onwards where it did not in 2.00 *
  150.  
  151.                                 ZN428
  152.                                 ┌──────────────┐         390Ω
  153.               ┌─────────────────┤11           6├─┬────┬─▒▒▒▒▒──+5v
  154.               │ ┌───────────────┤12           7├─┘    │ 
  155.               │ │ ┌─────────────┤13           3├NC    │      
  156.               │ │ │ ┌───────────┤14            │      │  + 10µF
  157.               │ │ │ │ ┌─────────┤15           5├──────│───╢├─────> Left out
  158.               │ │ │ │ │ ┌───────┤16            │      │     0v───>
  159.       20 >─0v │ │ │ │ │ │ ┌─────┤1           10├──+5v │ 
  160.               │ │ │ │ │ │ │ ┌───┤2            9├─┬─0v │      
  161.       14 >────│─│─│─│─│─│─│─│───┤4            8├─┘    │    
  162.               │ │ │ │ │ │ │ │   └──────────────┘      │    
  163.       11 >────┤ │ │ │ │ │ │ │   ZN428                 │  + 1µF    
  164.               │ │ │ │ │ │ │ │   ┌──────────────┐      ├───╢├─0v
  165.        9 >────┴─│─│─│─│─│─│─│───┤11 D7   VRIN 6├──────┘
  166.        8 >──────┴─│─│─│─│─│─│───┤12 D6  VROUT 7├ NC
  167.        7 >────────┴─│─│─│─│─│───┤13 D5     NC 3├ NC     
  168.        6 >──────────┴─│─│─│─│───┤14 D4         │        + 10µF
  169.        5 >────────────┴─│─│─│───┤15 D3    OUT 5├─────────╢├─────> Right out
  170.        4 >──────────────┴─│─│───┤16 D2         │           0v───>
  171.        3 >────────────────┴─│───┤1 D1     +V 10├──+5v    
  172.        2 >──────────────────┴───┤2 D0     0v  9├─┬0v
  173.        1 >──────────────────────┤4 !EN    0v  8├─┘
  174.       25 pin male D connector   └──────────────┘ 
  175.  
  176.  
  177.       Notes:
  178.  
  179.       Make sure all the 0v lines are connected together and connected to the
  180.       0v line of your power source.  Also, make sure the +5v lines are 
  181.       connected together.  The lines marked 'NC' do not need to be connected.  
  182.  
  183.       If a ZN428 is not available, any D/A with input latches will work -
  184.       the D/A should latch the data bus when pin 4 (!EN) is low.
  185.  
  186.       ─│─ = No connection, ─┼─ = joined
  187.  
  188.       The above circuit (Stereo-on-1) is (C) Mark J Cox 1991, 29 Lundie Close
  189.       Stenson Fields, Derby DE2 3AN; and is supplied for personal use only.  
  190.       For any other use, please contact the author at the address above. If 
  191.       this circuit is abstracted or incorporated into any other document or
  192.       circuit then that document or documentation supplied with that circuit
  193.       must contain this paragraph of text.  Any commercial use where not 
  194.       agreed by written contract with the author (Mark J Cox) is prohibited.
  195.  
  196.  
  197.      13. UK SUPPLIERS
  198.      ─────────────────────────────────────────────────────────
  199.  
  200.      A lot of people have been having difficulty obtaining the ZN426/ZN428
  201.      IC's.  If you cannot find an alternative, there is a company in the
  202.      UK that will do overseas orders.   Carriage charges vary from 10%
  203.      of the total order value (Ireland) to 25% (Fiji) and payment can be
  204.      by Eurocheques, bank drafts, credit cards etc. Maplin: +44 702 554161
  205.      
  206.  
  207.      14. CONTACT/SUPPORT
  208.      ─────────────────────────────────────────────────────────
  209.  
  210.      Before June 1992:
  211.      -----------------
  212.      Mark J Cox                 Electronic Mail: 
  213.      17 Kirkburn Place           (JANET) m.j.h.cox@uk.ac.bradford (UK)
  214.      Bradford                            m.j.h.cox@bradford.ac.uk (other)
  215.      W. Yorks, UK              (NETMAIL) Post a message in PLAY SUPPORT on
  216.      BD7 2BZ                             Kingdom of Greyhawk BBS
  217.                                          (+44 332 756414)
  218.      After June 1992:
  219.      ----------------
  220.      29 Lundie Close           (NETMAIL) Post a message in PLAY SUPPORT on
  221.      Stenson Fields                      Kingdom of Greyhawk BBS
  222.      Derby, UK                           (+44 332 756414)
  223.      DE2 3AN                     
  224.  
  225.      All comments on PLAY, RESPLAY, MODPLAY or future software are welcomed!
  226.      Please enclose a SSAE to ensure reply.
  227.  
  228.  
  229.